package com.anhuanjia.tools.eao.bean;

import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;
import com.efastsoft.framework.annotation.dao.Column;
import com.efastsoft.framework.annotation.dao.Indexes;
import com.efastsoft.framework.annotation.dao.Table;
import com.efastsoft.framework.data.DataType;
import com.efastsoft.framework.orm.DAO;

/**
 * 帮助内容菜单表
 * 
 * @author Administrator
 *
 */
@Table("eao_help_menu")
@Indexes("")
@SuppressWarnings("serial")
public class EaoHelpMenu extends DAO<EaoHelpMenu> {

	@Column(type = DataType.INTEGER, precision = 0, mandatory = true, pk = true)
	protected Integer Id;// 主键

	@Column(type = DataType.STRING, length = 50)
	private String Title;

	@Column(type = DataType.INTEGER, length = 11)
	private Integer ParentId;

	@Column(type = DataType.INTEGER, length = 11)
	private Integer Position;

	@Column(type = DataType.DATETIME, length = 11)
	protected Date CreateTime;// 创建时间

	@Column(type = DataType.INTEGER, length = 11)
	private Integer IsShow;

	@Column(type = DataType.INTEGER, length = 11)
	private Integer Type;

	@Column(type = DataType.STRING, length = 50)
	private String Operator;

	private List<EaoHelpMenu> Children;

	public Integer getId() {
		return Id;
	}

	public void setId(Integer id) {
		Id = id;
	}

	public String getTitle() {
		return Title;
	}

	public void setTitle(String title) {
		Title = title;
	}

	public Integer getParentId() {
		return ParentId;
	}

	public void setParentId(Integer parentId) {
		ParentId = parentId;
	}

	public Integer getPosition() {
		return Position;
	}

	public void setPosition(Integer position) {
		Position = position;
	}

	public Date getCreateTime() {
		return CreateTime;
	}

	public void setCreateTime(Date createTime) {
		CreateTime = createTime;
	}

	public Integer getIsShow() {
		return IsShow;
	}

	public void setIsShow(Integer isShow) {
		IsShow = isShow;
	}

	public Integer getType() {
		return Type;
	}

	public void setType(Integer type) {
		Type = type;
	}

	public String getOperator() {
		return Operator;
	}

	public void setOperator(String operator) {
		Operator = operator;
	}

	public List<EaoHelpMenu> getChildren() {
		return Children;
	}

	public void setChildren(List<EaoHelpMenu> children) {
		Children = children;
	}

}